# 计算净利润
def test(inum):
    res=0
    if inum>100000:
        res = res + 100000*0.1
    else:
        res = res + inum*0.1
    
    if inum > 10000